package com.youshang520i.springcommonmiddleware.mq.rabbitmq.service;


import com.youshang520i.springcommonmiddleware.mq.rabbitmq.po.Mail;

public interface Producer {
    /**
     * 向队列queue发送消息
     * @param queue
     * @param mail
     */
    public void sendMail(String queue, Mail mail);
}
